package com.weijian.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Schema(description = "AI生成图片数据库实体")
@TableName(value = "image_ai", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ImageAI extends BaseDO {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Long id;

    /**
     * 用户输入的提示词
     */
    @Schema(description = "用户输入的提示词")
    private String userPrompt;

    /**
     * 生成的图片的链接
     */
    @Schema(description = "生成的图片的链接")
    private String imgUrl;

    /**
     * 任务状态
     */
    @Schema(description = "任务状态")
    private Integer status;

    /**
     * 执行信息
     */
    @Schema(description = "执行信息")
    private String execMessage;
}
